package com.mine.education.course.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 课程目录表
 * 
 * @author xiaolin
 * @email xiaolin@gmail.com
 * @date 2020-10-18 15:58:35
 */
@Data
@TableName("ces_catalog")
public class CatalogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 目录id
	 */
	@TableId
	private Long id;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 课程id
	 */
	private Long courseId;
	/**
	 * 父id
	 */
	private Long parentId;
	/**
	 * 章节介绍，只有一级目录才有介绍
	 */
	private String detail;
	/**
	 * 排序
	 */
	private Integer sort;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date modifyTime;

}
